package com.chocus.core.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 首頁各页面跳转
 * @author Administrator
 *
 */
@Controller
@RequestMapping("/home/")
public class IndexController {
	
	/**
	 * 真正 的首页
	 * @return
	 */
	@RequestMapping("index.do")
	public String index(){
		return "index";
	}
	
	/**
	 * 头部
	 * @return
	 */
	@RequestMapping("top.do")
	public String top(){
		return "top";
	}
	
	/**
	 * 身体
	 * @return
	 */
	@RequestMapping("main.do")
	public String main(){
		return "main";
	}
	
	/**
	 * 身体左侧
	 * @return
	 */
	@RequestMapping("left.do")
	public String left(){
		return "left";
	}
	
	/**
	 * 身体右侧
	 * @return
	 */
	@RequestMapping("right.do")
	public String right(){
		return "right";
	}
	
	/**
	 * 商品
	 * @return
	 */
	@RequestMapping("frame/product_main.do")
	public String product_main(){
		return "frame/product_main";
	}
	
	/**
	 * 商品左侧
	 * @return
	 */
	@RequestMapping("product_left.do")
	public String product_left(){
		return "frame/product_left";
	}
}
